<!DOCTYPE html>
<html>
<head>
	<title></title>
	<style type="text/css">
		* {
			margin: 0;
			padding: 0;
		}
		body {
			color: rgba(255, 255, 255, 0.3);
			font-family: 微软雅黑;
			background-color: black;
			text-align: center;
		}
		h1 {
			background-clip: text;
			-webkit-background-clip: text;
			text-align: center;
			margin-top: 200px;
			background: linear-gradient(120deg,rgba(255,255,255,0) 30px,rgba(255,255,255,0.6) 60px,rgba(255,255,255,0) 90px);
			display: inline-block;
			background-repeat: no-repeat;
			background-position: -30px;
		}

	</style>
</head>
<body>
	<h1>
		仲恺农业工程学院

	</h1>
	<script type="text/javascript">
		var h1Node = document.querySelector('h1')
		move()

		var left = 0;
		function move () {
			setInterval(function() {
				left += 5;
				if(left > 230) {
					left = -30;
				}
				h1Node.style.backgroundPosition = left+"px 0px"
			},40)
		}
	</script>

</body>
</html>